package net.pimpas.web.jsf.components.validators.operation.persistence;

import net.pimpas.operation.persistence.serviceprovider.OperationPersistenceServiceProviderFactoryImpl;
import net.pimpas.operation.serviceprovider.OperationServiceProvider;
import net.pimpas.web.jsf.components.validators.operation.OperationValidator;
import net.pimpas.web.jsf.util.ComponentInformation;

public class OperationPersistenceValidator extends OperationValidator {

	public static final String MESSAGE_KEY			= ComponentInformation.COMPONENT_VALIDATE_MESSAGE_KEY+".operation.persistence";
	public static final String VALIDATOR_ID			= ComponentInformation.COMPONENT_VALIDATE_ID+".operation.persistence";
	
	@Override
	protected OperationServiceProvider getOperationProvider() {
		return OperationPersistenceServiceProviderFactoryImpl.getOperationPersistenceServiceProvider();
	}
}